FROM openjdk:8-jdk-alpine
LABEL maintainer="huwei <huwei@hancloud.cn>"
LABEL description="docker build -t docker-test"
ADD target/dockerTest-1.0-SNAPSHOT.jar app.jar
EXPOSE 8080
ENTRYPOINT ["sh","-c","java $JAVA_OPTS -Dspring.profiles.active=apollo -Djava.security.egd=file:/dev/./urandom -Denv=dev -Dapollo.meta=$APOLLO_META -Duser.timezone=GMT+08 -jar app.jar"]